$(function(){
	
	// 仅选择日期
	$(".form-date").datetimepicker(
	{
		language:  "zh-CN",
	    weekStart: 1,
	    todayBtn:  1,
	    autoclose: 1,
	    todayHighlight: 1,
	    startView: 2,
	    minView: 2,
	    forceParse: 0,
	    showMeridian: 1,
	    format: "yyyy-mm-dd"
	});
	
	//初始化日期控件
	$(".form-datetime").datetimepicker({
		language:  "zh-CN",
	    weekStart: 1,
	    autoclose: 1,
	    todayHighlight: 1,
	    startView: 2,
	    forceParse: 0,
	    showMeridian: 1,
	    format: "yyyy-mm-dd hh:ii:ss"
	});
	
	$(".form-datetime-start").datetimepicker({
		language:  "zh-CN",
	    weekStart: 1,
	    autoclose: 1,
	    todayHighlight: 1,
	    startView: 2,
	    minView: 2,
	    forceParse: 0,
	    format: "yyyy-mm-dd 00:00:00"
	});
	
	$(".form-datetime-end").datetimepicker({
		language:  "zh-CN",
	    weekStart: 1,
	    autoclose: 1,
	    todayHighlight: 1,
	    startView: 2,
	    minView: 2,
	    forceParse: 0,
	    format: "yyyy-mm-dd 23:59:59"
	});
	
});

